package com.monkeyk.sos.domain.model;

import java.io.Serializable;

import com.monkeyk.sos.domain.user.User;

/**
 * 合作者基本信息
 */
public class CooperDetails implements Serializable {

	private static final long serialVersionUID = 599342928851790850L;
	private Long cooperId;
	private String cooperName;
	private String password;
	private String email;
	private String phone;
	private String province;
	private String city;
	private String address;
	private String postcode;
	private String site;
	private int defaultUser;
	private int status;
	//紧急联系人
	private String contactPerson;
	//紧急联系人电话
	private String contactPhone;
	//组织结构名称
	private String organization;
	//营业执照号码
	private String licenseNumber;
	//营业执照正面
	private String licenseImgFrontURL;
	//营业执照反面
	private String licenseImgBackURL;
	//法定人身份证号码
	private String idCard;
	//身份证正面
	private String idCardImgFrontURL;
	//身份证反面
	private String idCardImgBackURL;
	//法定人姓名
	private String legalPersonName;
	//法定人手机号
	private String legalPersonPhone;
	//合作者类型 0个人 1企业(预留字段)
	private int coopType;
	//用户资料完善率  0未完善  100已完善
	private int percent;
	
	public Long getCooperId() {
		return cooperId;
	}
	public void setCooperId(Long cooperId) {
		this.cooperId = cooperId;
	}
	public String getCooperName() {
		return cooperName;
	}
	public void setCooperName(String cooperName) {
		this.cooperName = cooperName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public int getDefaultUser() {
		return defaultUser;
	}
	public void setDefaultUser(int defaultUser) {
		this.defaultUser = defaultUser;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public User createUser() {
		User user = new User(cooperId.intValue(),cooperName,password,email);
		return user;
	}
	public String getOrganization() {
		return organization;
	}
	public void setOrganization(String organization) {
		this.organization = organization;
	}
	public String getLicenseNumber() {
		return licenseNumber;
	}
	public void setLicenseNumber(String licenseNumber) {
		this.licenseNumber = licenseNumber;
	}
	public String getLicenseImgFrontURL() {
		return licenseImgFrontURL;
	}
	public void setLicenseImgFrontURL(String licenseImgFrontURL) {
		this.licenseImgFrontURL = licenseImgFrontURL;
	}
	public String getLicenseImgBackURL() {
		return licenseImgBackURL;
	}
	public void setLicenseImgBackURL(String licenseImgBackURL) {
		this.licenseImgBackURL = licenseImgBackURL;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getIdCardImgFrontURL() {
		return idCardImgFrontURL;
	}
	public void setIdCardImgFrontURL(String idCardImgFrontURL) {
		this.idCardImgFrontURL = idCardImgFrontURL;
	}
	public String getIdCardImgBackURL() {
		return idCardImgBackURL;
	}
	public void setIdCardImgBackURL(String idCardImgBackURL) {
		this.idCardImgBackURL = idCardImgBackURL;
	}
	public String getLegalPersonName() {
		return legalPersonName;
	}
	public void setLegalPersonName(String legalPersonName) {
		this.legalPersonName = legalPersonName;
	}
	public String getLegalPersonPhone() {
		return legalPersonPhone;
	}
	public void setLegalPersonPhone(String legalPersonPhone) {
		this.legalPersonPhone = legalPersonPhone;
	}
	public int getCoopType() {
		return coopType;
	}
	public void setCoopType(int coopType) {
		this.coopType = coopType;
	}
	public int getPercent() {
		return percent;
	}
	public void setPercent(int percent) {
		this.percent = percent;
	}
	public String getContactPerson() {
		return contactPerson;
	}
	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}
	public String getContactPhone() {
		return contactPhone;
	}
	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}
	public String getPostcode() {
		return postcode;
	}
	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	public String getSite() {
		return site;
	}
	public void setSite(String site) {
		this.site = site;
	}
	
}
